package ar.edu.utn.frsf.proyectofinal.sistemadecontrolmodbus.presentation.controller.admin.devtypes;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;

import ar.edu.utn.frsf.proyectofinal.sistemadecontrolmodbus.persistence.model.Alarm;

@ManagedBean(name="alarmsmethod")
@ApplicationScoped
public class AlarmMethodsBean {
	 public Alarm.Operator getEqual(){
		 return Alarm.Operator.EQUAL;
	 }
	 public Alarm.Operator getLess(){
		 return Alarm.Operator.MINOR;
	 }
	 public Alarm.Operator getMayor(){
		 return Alarm.Operator.MAYOR;
	 }
	 public Alarm.Operator getNotEqual(){
		 return Alarm.Operator.NOT_EQUAL;
	 }
	 public Alarm.Operator getLessEqual(){
		 return Alarm.Operator.MINOR_EQUAL;
	 }
	 public Alarm.Operator getMayorEqual(){
		 return Alarm.Operator.MAYOR_EQUAL;
	 }
}
